package com.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "duty")
public class Duty {
    /**
     * 值班id
     */
    @TableId(value = "duty_id", type = IdType.INPUT)
    private Long dutyId;

    /**
     * 周一
     */
    @TableField(value = "mon")
    private String mon;

    /**
     * 周二
     */
    @TableField(value = "tue")
    private String tue;

    /**
     * 周三
     */
    @TableField(value = "web")
    private String web;

    /**
     * 周四
     */
    @TableField(value = "thu")
    private String thu;

    /**
     * 周五
     */
    @TableField(value = "fri")
    private String fri;

    /**
     * 周六
     */
    @TableField(value = "sat")
    private String sat;

    /**
     * 周日
     */
    @TableField(value = "sun")
    private String sun;

    /**
     * 员工姓名
     */
    @TableField(value = "employee_name")
    private String employeeName;

    /**
     * 岗位名称
     */
    @TableField(value = "positions_name")
    private String positionsName;

    public static final String COL_DUTY_ID = "duty_id";

    public static final String COL_MON = "mon";

    public static final String COL_TUE = "tue";

    public static final String COL_WEB = "web";

    public static final String COL_THU = "thu";

    public static final String COL_FRI = "fri";

    public static final String COL_SAT = "sat";

    public static final String COL_SUN = "sun";
}